package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(255)"`
}

type Novel struct {
	gorm.Model
	Title  string `gorm:"type:varchar(50)"`
	Author string `gorm:"type:varchar(30)"`
	Desc   string `gorm:"type:varchar(50)"`
}
